package com.weixing.mall.provider.model.enums;

import com.weixing.mall.base.enums.IBaseEnum;

public enum ProfitLossEunm implements IBaseEnum<Integer> {
    PROFIT(1, "盈"),
    FLAT(0, "平"),
    LOSS(-1, "亏");
    private int value;
    private String desp;

    ProfitLossEunm(int value, String desp) {
        this.value = value;
        this.desp = desp;
    }

    @Override
    public Integer getValue() {
        return value;
    }

    public void setValue(int value) {
        this.value = value;
    }

    @Override
    public String getDesp() {
        return desp;
    }

    public void setDesp(String desp) {
        this.desp = desp;
    }
}
